﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using SFP;
using SFP.Audio;

namespace HamsterDelivery
{
    public class Resources
    {
        /* BITMAPS */
        public static Bitmap B_ULTRA_GAME_STUDIO;

        public static Bitmap B_MENU_SELECT_ICON;
        public static Bitmap B_MAIN_MENU;
        public static Bitmap B_PAUSE_MENU;
        public static Bitmap B_INFO_MENU;

        public static Bitmap B_PACKAGE_SCORE;
        public static Bitmap B_LETTER_SCORE;

        public static Bitmap B_STANDING_FACE_LEFT;
        public static Bitmap B_STANDING_FACE_RIGHT;
        public static Bitmap B_WALKING_RIGHT_1;
        public static Bitmap B_WALKING_RIGHT_2;
        public static Bitmap B_WALKING_RIGHT_3;
        public static Bitmap B_WALKING_LEFT_1;
        public static Bitmap B_WALKING_LEFT_2;
        public static Bitmap B_WALKING_LEFT_3;
        public static Bitmap B_JUMP_RIGHT;
        public static Bitmap B_JUMP_LEFT;

        public static Bitmap B_PACKAGE;
        public static Bitmap B_LETTER;

        /* AUDIO */
        public static Sound A_MAIN_THEME;
        public static Sound A_LEVEL_THEME;
        public static Sound A_JUMP_SOUND;
        public static Sound A_COIN_SOUND;

        public static void loadRessources()
        {
            //////////
            // BITMAPS
            //////////////////////////////

            // Intro
            B_ULTRA_GAME_STUDIO = ContentLoader.LoadBitmap("content\\images\\intro\\ultra_game_studio.png");

            // Menu
            B_MENU_SELECT_ICON = ContentLoader.LoadBitmap("content\\images\\menu\\menu_select_icon.png");
            B_MAIN_MENU = ContentLoader.LoadBitmap("content\\images\\menu\\main_menu.png");
            B_PAUSE_MENU = ContentLoader.LoadBitmap("content\\images\\menu\\pause_menu.png");
            B_INFO_MENU = ContentLoader.LoadBitmap("content\\images\\menu\\info_menu.png");

            // HUD
            B_PACKAGE_SCORE = ContentLoader.LoadBitmap("content\\images\\hud\\package_score.png");
            B_LETTER_SCORE = ContentLoader.LoadBitmap("content\\images\\hud\\letter_score.png");

            // Player
            B_STANDING_FACE_RIGHT = ContentLoader.LoadBitmap("content\\images\\player\\standing_face_right.png");
            B_STANDING_FACE_LEFT = ContentLoader.LoadBitmap("content\\images\\player\\standing_face_left.png");
            B_WALKING_RIGHT_1 = ContentLoader.LoadBitmap("content\\images\\player\\walking_right_1.png");
            B_WALKING_RIGHT_2 = ContentLoader.LoadBitmap("content\\images\\player\\walking_right_2.png");
            B_WALKING_RIGHT_3 = ContentLoader.LoadBitmap("content\\images\\player\\walking_right_3.png");
            B_WALKING_LEFT_1 = ContentLoader.LoadBitmap("content\\images\\player\\walking_left_1.png");
            B_WALKING_LEFT_2 = ContentLoader.LoadBitmap("content\\images\\player\\walking_left_2.png");
            B_WALKING_LEFT_3 = ContentLoader.LoadBitmap("content\\images\\player\\walking_left_3.png");
            B_JUMP_RIGHT = ContentLoader.LoadBitmap("content\\images\\player\\jump_right.png");
            B_JUMP_LEFT = ContentLoader.LoadBitmap("content\\images\\player\\jump_left.png");

            ////////
            // AUDIO
            //////////////////////////////

            A_MAIN_THEME = ContentLoader.LoadAudio("content\\audio\\level.mp3");
            A_JUMP_SOUND = ContentLoader.LoadAudio("content\\audio\\smb_jumpsmall.wav");
            A_COIN_SOUND = ContentLoader.LoadAudio("content\\audio\\smb_coin.wav");
        }
    }
}
